home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Installer SDK Cornucopia 1.1 / Upgrader / Released / Upgrader 1.1 / Additional Plug-in Examples / Simple App Launcher Plug-in / About this example
Encoding:
Text File  |  1997-11-12  |  2.4 KB  |  21 lines  |  [ttro/ttxt]

  1. Simple Application Launcher Plug-in Example
  2.  
  3. This example implements a single panel which launches an application with an optional document when the user clicks Continue.  This might be helpful for a developer or client that wishes to have the user perform an essential step that cannot be fully integrated into the panel user experience.  Examples of this might be running a third-party driver updating program or a virus scanning program which does not provide adequate Apple event support.
  4.  
  5. You can add multiple Simple Application Launcher Plug-ins to a data file by changing the preference resource ID in a 'paul' resource in both the plug-in file and the editor file.  If you wish to add another read me plug-in to your data file, duplicate the Generic Read Me plug-in and editor files (rename as appropriate, but both files must match), then change the 'paul' resource in both files to an ID not being used by another read me plug-in.
  6.  
  7.  
  8. What's in this folder:
  9.  
  10. "Plug-in Sources" folder:  Contains a Metrowerks 10 project and source files to build the Simple App Launcher plug-in file.
  11.  
  12. "Editor Sources" folder:  Contains a Metrowerks 10 project and source files to build the Simple App Launcher editor file.  This project uses the PowerPlant object framework.
  13.  
  14. "Interfaces" folder:  Contains the file "SimpleAppLauncherTypes.r" for creating your data file using the MPW tool Rez.  Also contains the file "Simple App Launcher Template" to be used with the Resorcerer application.
  15.  
  16. "Working Example" folder:  Contains the necessary files to create an Upgrader example based on the "Install Mac OS 8" Upgrader document that shows the Simple Application Launcher(SAL) plug-in in action.  To create a working example, drag the contents of the "Add these files to Upgrader" folder into a copy of the "Upgrader 1.1 Application" folder, then drag the contents of the "Add these files to ModifierTool" folder into a copy of the "ModifierTool 1.1b1 Application" folder.  The "Install Mac OS 8 w/ SAL Plug-in" Upgrader document has been set up to run two SAL plug-ins after the software license plug-in.  The first plug-in always launches the SimpleText application when the user clicks Continue in the SAL panel.  The second panel allows the user to determine if SimpleText should be launched or not.  Drop the "Install Mac OS 8 w/ SAL Plug-in" file on the ModifierTool application to edit the actions of the SAL plug-in.
  17.  
  18. © Apple Computer, Inc.  1997
  19. July 24, 1997
  20.  
  21.